-- GENERATED SPELL FOR [Winterfall Den Watcher] --


function spell0_7440(pUnit, Event) --@Winterfall Firewater,Self--
pUnit:FullCastSpellOnTarget(17205,pUnit)
pUnit:RegisterEvent('Sorts_7440', 0, 1)
end

function Sorts_7440(pUnit, Event)
local choix_sorts_7440 = math.random(0, 0)
if choix_sorts_7440 == 0 then
pUnit:RegisterEvent('spell0_7440', 1, 1)
end
end

function mob7440_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7440', math.random(1500, 3000), 1)
end

function mob7440_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7440_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7440_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7440, 1, 'mob7440_Action')
RegisterUnitEvent(7440, 2, 'mob7440_Leave')
RegisterUnitEvent(7440, 3, 'mob7440_Kill')
RegisterUnitEvent(7440, 4, 'mob7440_Die')
